.design-table-designer {
  width: 100%;
  height: 100%
}

.design-table-designable {
  display: flex;
  flex-direction: column;
}

.design-container {
  flex: 1;
  padding-top: 20px;
  width: 100%;
  background: #707070;
  overflow: auto;
}

.design-table-wrapper {
  padding: 20px;
  width: fit-content;
  margin: auto;
}

.design-item {
  padding: 5px;
  background: white;
}

.design-table {
  position: relative;
  user-select: none;
}

.design-table .design-table-body {
  width: fit-content;
}

.design-table table {
  border-collapse: collapse;
  width: max-content;
}

.design-table table .content,
.design-table table tr {
  min-height: 30px;
}

.design-table table tr td:last-child .col-bar {
  /*display: none;*/
}

.design-table table td {
  user-select: none;
  cursor: cell;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  position: relative;
}

.col-bar {
  position: absolute;
  height: 100%;
  width: 5px;
  right: -3px;
  top: 0;
  cursor: col-resize;
  user-select: none;
  z-index: 10;
}

.row-resizing {
  cursor: row-resize;
}

.col-resizing {
  cursor: col-resize;
}

.row-bar {
  position: absolute;
  height: 5px;
  width: 100%;
  bottom: -3px;
  left: 0;
  user-select: none;
  cursor: row-resize;
  z-index: 10;
}

.design-table table .selected .content {
  /*background: #e4efff !important;*/
  color: #1f1f1f !important;
}

.design-table table .content {
  font-family: Microsoft YaHei;
}

.design-table table .content {
  text-align: center;
}
.design-table table .content {
  border: 1px dashed rgba(0, 0, 0, 0);
}

.grid-design .design-table table .content {
  border-color: #dcdfe6;
}

.design-table .cell-placeholder {
  color: #A8ABB2;
}
.design-table table .content-wrapper {
  min-width: 100%;
  overflow: hidden;
}

.design-table table .content-wrapper[contenteditable] {
  cursor: text;
  height: 100%;
  width: 100%;
  outline: none;
  background: #fffae4 !important;
  color: #444444 !important;
}

.t-context-menu {
  position: fixed;
  top: 0;
  left: 0;
  padding: 10px 0;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .25);
  border-radius: 8px;
  min-width: 285px;
  background: white;
  z-index: 1000;
}

.t-context-menu .menu-item {
  padding: 5px;
  display: flex;
  align-items: center;
  color: #3d3d3d;
  font-size: 14px;
  user-select: none;
}

.t-context-menu .menu-item .title {
  flex: 1;
}

.t-context-menu .menu-item .icon {
  width: 50px;
  text-align: center;
}


.t-context-menu .menu-item:hover {
  background: #f2f2f2;
  color: #1f1f1f;
}

.t-context-menu .divider {
  height: 1px;
  background: #d3e3fd;
  margin: 10px 0;
}

.design-table .select-bound {
  position: absolute;
  left: 0;
  top: 0;
  width: 10px;
  height: 10px;
  border: 2px solid #409EFF;
  pointer-events: none;
  background: rgba(148, 199, 253, 0.35) !important;
  border-radius: 4px;
}

.row-resize-placeholder {
  position: fixed;
  z-index: 100;
  pointer-events: none;
  height: 1px;
  background: #409EFF;
  text-align: center;
  color: #409EFF;
  line-height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.col-resize-placeholder {
  position: fixed;
  z-index: 100;
  pointer-events: none;
  width: 1px;
  background: #409EFF;
  text-align: center;
  color: #409EFF;
  line-height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.col-resize-placeholder .title {
  background: #808080;
  padding: 10px;
  color: white;
  margin-left: -120px;
  user-select: none;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.row-resize-placeholder .title {
  background: #808080;
  user-select: none;
  padding: 10px;
  border-radius: 4px;
  color: white;
  margin-top: -50px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.resize-mask {
  z-index: 50;
  background: rgba(0, 0, 0, 0);
  position: fixed;
  left: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
}